﻿using System;
using System.Collections.Generic;
using System.Text;

namespace QuickWeather.Core
{
    public class Weather
    {
        public struct WeatherElement
        {
            public int Min { get; set; }
            public int Max { get; set; }
        }

        public struct WindElement
        {
            public int Min { get; set; }
            public int Max { get; set; }
            public Direction Direction { get; set; }
        }

        public struct WeatherPhenomena
        {
            public Cloudiness Cloudiness { get; set; }
            public Precipitation Precipitation { get; set; }
            public rPower rPower { get; set; }
            public sPower sPower { get; set; }
        }

        public enum Cloudiness
        {
            Fine,
            PartlyCloudy,
            Cloudy,
            Dull
        }

        public enum Precipitation
        {
            None,
            Rain,
            Rainfall,
            Snow,
            Thunderstorm,
            Unknow
        }

        public enum rPower
        {
            MayBe,
            Exact
        }

        public enum sPower
        {
            MayBe,
            Exact
        }

        public enum Direction
        {
            North,
            NorthEast,
            East,
            SouthEast,
            South,
            SouthWest,
            West,
            NorthWest
        }

        public DateTime DateTime { get; set; }
        public WeatherPhenomena Phenomena { get; set; }
        public WeatherElement Pressure { get; set; }
        public WeatherElement Temperature { get; set; }
        public WindElement Wind { get; set; }
    }
}
